/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package edu.faytechcc.csc.gui.search.details;

import javax.swing.Box;
import javax.swing.JLabel;
import javax.swing.JPanel;

/**
 * Please describe what this class does here.
 *
 * CSC 251 0001 DATE:
 *
 * @author Stephanie Mckenzie
 */
public class TitlePanel extends JPanel
{

    private JLabel englishTitleLabel;
    private JLabel japaneseTitleLabel;
    private JLabel numberOrVolumesLabel;
    private JLabel artistLabel;
    
    public TitlePanel(String engTitle, String japTitle, String num, String artist)
    {
        englishTitleLabel = new JLabel("English Title: " + engTitle);
        japaneseTitleLabel = new JLabel("Japanese Title: " + japTitle);
        numberOrVolumesLabel = new JLabel("Number of Episodes/Volumes: " + num);
        artistLabel = new JLabel("Artist/Producer: " + artist);
        
        this.add(englishTitleLabel);
        this.add(Box.createHorizontalGlue());
        this.add(japaneseTitleLabel);
        this.add(Box.createHorizontalGlue());
        this.add(numberOrVolumesLabel);
        this.add(Box.createHorizontalGlue());
        this.add(artistLabel);
    }
}
